package com.neouton.common.util;

/**
 * 常量
 */
public final class Constants {
    // 销售机会模块公用表ID
    public static final int OPPORTUNITY_MODEL_ID = 1;

    // 项目管理模块公用表ID
    public static final int PROJECT_MODEL_ID = 2;

    // 费用迁移模块公用表ID
    public static final int COST_MODEL_ID = 4;

    // 项目管理模块公用表ID
    public static final int CONTRACT_MODEL_ID = 3;

    // 销售目标模块公用表ID
    public static final int TARGET_MODEL_ID = 5;

    // 机会点审批中
    public static final int OPPORTUNITY_AUDITING = 0;

    // 机会点审批通知taskType
    public static final int OPPORTUNITY_AUDIT_TASK_TYPE = 5;

    //机会点创建审批
    public static final int OPPORTUNITY_CREATE_AUDIT_TYPE = 45;

    // 机会点审核通过状态
    public static final int OPPORTUNITY_AUDIT_PASS = 1;

    //  项目模块名称
    public static final String PROJECT_MODEL_NAME = "projectManage";

    //  机会点模块名称
    public static final String OPPORTUNITY_MODEL_NAME = "opportunity";

    //  费用模块名称
    public static final String COST_MODEL_NAME = "costMigrate";

    //客户、供应商待审批
    public static final int AUDITING_WAIT = 1;

    //客户、供应商审批通过
    public static final int AUDITING_PASS = 2;

    //客户、供应商审批驳回
    public static final int AUDITING_REJECT = 3;

    //客户关系启用
    public static final int CUSTOMER_START = 1;

    //客户关系禁用
    public static final int CUSTOMER_STOP = 2;

    //客户关系是供应商
    public static final int CUSTOMER_IS_SUPPLIER = 1;

    //客户关系不为供应商
    public static final int CUSTOMER_NOT_SUPPLIER = 2;

    //客户关系审批
    public static final int CUSTOMER_TASK_TYPE = 6;

    //费用记录审批
    public static final int COSTRECORD_TASK_TYPE = 17;

    //费用迁移审批
    public static final int COSTMIGRATE_TASK_TYPE = 18;

    //项目信息审批流程
    public static final int PROJECT_TASK_TYPE = 7;

    //项目信息初审流程
    public static final int PROJECT_TASK_TYPE_ONE = 21;

    //客户关系启用
    public static final int SUPPLIER_START = 1;

    //客户关系禁用
    public static final int SUPPLIER_STOP = 2;

    //供应商是客户关系
    public static final int SUPPLIER_IS_CUSTOMER = 1;

    //客户关系不为供应商
    public static final int SUPPLIER_NOT_CUSTOMER = 2;
    //供应商待办通知事件类别
    public static final int SUPPLIER_TASK_TYPE = 20;

    public static final int UPDATE_MANAGER_TYPE = 50;

    //事件通知开始
    public static final int WORK_STATE_START = 0;
    //事件通知结束
    public static final int WORK_STATE_STOP = 1;
    // 审批流程开始
    public static final int AUDITING_START = 1;

    // 审批流程结束
    public static final int AUDITING_STOP = 0;

    // 供应商，客户审批主管动态注入
    public static final String LEADER_KEY = "leader";

    public static final String USER_KEY = "user";

    //付款记录文件类型
    public static final int PAYMENTRECORDS_MODEL_ID = 5;
    //收票记录文件类型
    public static  final int RECEIPTRECORDS_MODEL_ID = 6;
    //物资配置状态启用
    public static final int INSTALL_START = 0;
    //物资配置状态禁用
    public static final int INSTALL_STOP = 1;

    public static final int  PAYMENTREQUEST_MODEL_ID = 7;

    public static final int  RECEIPTREQUEST_MODEL_ID = 8;


    // 项目信息
    public static final String  CACHE_PROJECT = "cache_project";

    // 采购信息
    public static final String  CACHE_PURCHASEORDER = "cache_purchaseOrder";

    // 收票记录信息
    public static final String  CACHE_RECEIPTRECORDS = "cache_receiptRecords";

    // 付款申请
    public static final String  CACHE_PAYREQUEST = "cache_payRequest";

    // 还款记录
    public static final String  CACHE_BACKMONEYRECORD = "cache_backMoneyRecord";

    // 还款记录
    public static final String  CACHE_CONTRACTINFO = "cache_contractInfo";

    // 还款记录
    public static final String  CACHE_BILLINGRECORD = "cache_billingRecord";

    // 开票申请、开票记录明细
    public static final String  CACHE_BILLINGDETAILTABLE = "cache_billingDetailtable";

    // 开票申请、开票记录明细
    public static final String  CACHE_BACKMONEYDETAILTABLE = "cache_backMoneyDetailtable";


    //退款审批
    public static final int REFUND_TASK_TYPE = 54;

    //退款审批
    public static final int REFUND_MANAGER_TASK_TYPE = 55;

    //退款审批
    public static final int REFUND_GENGERAL_TASK_TYPE = 56;
}
